package com.exde.controller.admin;


import com.exde.entity.AdminBase;
import com.exde.service.AdminManagerService;
import com.exde.unit.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "公众号管理-管理员管理接口")
@RestController
@RequestMapping(value = "/adminManager")
public class AdminManagerController {

    @Autowired
    AdminManagerService adminManagerService ;

    @ApiOperation("管理员添加")
    @RequestMapping(value = "/adminAdd",method = RequestMethod.GET)
    public Result adminAdd(AdminBase adminBase){
        return adminManagerService.adminAdd(adminBase) ;
    }
}
